package com.lottery.common.service.Impl;

import com.lottery.common.dao.SequenceMapper;
import com.lottery.common.service.SequenceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class SequenceServiceImpl implements SequenceService {

    @Resource
    private SequenceMapper sequenceMapper;

    @Override
    public Long getSequenceByName(String name) {
        return sequenceMapper.getSequenceByName(name);
    }
}
